#include "cpu/exec/template-start.h"

make_helper(ret) {
    // pop eip
    cpu.eip = swaddr_read(cpu.esp, 4) - 1;
    cpu.esp += 4;
    print_asm("ret");
    return 1;
}

#include "cpu/exec/template-end.h"
